<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FabGL: inputbox.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">FabGL
   </div>
   <div id="projectbrief">ESP32 Display Controller and Graphics Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('inputbox_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">inputbox.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="inputbox_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">  Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - &lt;http://www.fabgl.com&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">  Copyright (c) 2019-2021 Fabrizio Di Vittorio.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">  All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">* Please contact fdivitto2013@gmail.com if you need a commercial license.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">* This library and related software is available under GPL v3.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">  FabGL is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">  it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">  the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">  (at your option) any later version.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">  FabGL is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">  but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">  GNU General Public License for more details.</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">  You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">  along with FabGL.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fabglconf_8h.html">fabglconf.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fabui_8h.html">fabui.h</a>&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fabutils_8h.html">fabutils.h</a>&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vga16controller_8h.html">dispdrivers/vga16controller.h</a>&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ps2controller_8h.html">comdrivers/ps2controller.h</a>&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacefabgl.html">fabgl</a> {</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">   56</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> {</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#gga25f6dff2b7711962b46d7c9313d28aa2a6adf97f83acf6453d4a6a4b1070f3754">None</a>,         </div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <a class="code" href="group___enumerations_ga78d47ab4ff34b1ed9fb7db4c3a98789e.html#gga78d47ab4ff34b1ed9fb7db4c3a98789eaea4788705e6873b424c65e91c2846b19">Cancel</a>,       </div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#gga25f6dff2b7711962b46d7c9313d28aa2af1851d5600eae616ee802a31ac74701b">Enter</a>,        </div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;};</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">// InputApp</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">struct </span>InputApp : <span class="keyword">public</span> uiApp {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> init();</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> addControls()      = 0;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> calcRequiredSize() = 0;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> finalize()         = 0;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  RGB888           backgroundColor;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     titleText;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     buttonCancelText;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     buttonOKText;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a>      retval;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="keywordtype">int</span>              autoOK;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  FontInfo <span class="keyword">const</span> * font;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="keywordtype">int</span>              requiredWidth;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keywordtype">int</span>              requiredHeight;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  uiFrame *        mainFrame;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  uiPanel *        panel;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  uiLabel *        autoOKLabel;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;};</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">// TextInputApp</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">struct </span>TextInputApp : <span class="keyword">public</span> InputApp {</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="keywordtype">void</span> addControls();</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordtype">void</span> calcRequiredSize();</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keywordtype">void</span> finalize();</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     labelText;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="keywordtype">char</span> *           inOutString;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="keywordtype">int</span>              maxLength;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="keywordtype">bool</span>             passwordMode;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="keywordtype">int</span>              editExtent;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keywordtype">int</span>              labelExtent;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  uiTextEdit *     edit;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;};</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">// MessageApp</span></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="keyword">struct </span>MessageApp : <span class="keyword">public</span> InputApp {</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <span class="keywordtype">void</span> addControls();</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <span class="keywordtype">void</span> calcRequiredSize();</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <span class="keywordtype">void</span> finalize();</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     messageText;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="keywordtype">int</span>              messageExtent;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;};</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">// SelectApp</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keyword">struct </span>SelectApp : <span class="keyword">public</span> InputApp {</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  <span class="keywordtype">void</span> addControls();</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <span class="keywordtype">void</span> calcRequiredSize();</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <span class="keywordtype">void</span> finalize();</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="keywordtype">int</span> countItems(<span class="keywordtype">size_t</span> * maxLength);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     messageText;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="keywordtype">char</span> <span class="keyword">const</span> *     items;       <span class="comment">// &quot;separator&quot; separated items (zero ends the list)</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <span class="keywordtype">char</span>             separator;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  StringList *     itemsList;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  <span class="keywordtype">bool</span>             menuMode;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keywordtype">int</span>              listBoxHeight;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  <span class="keywordtype">int</span>              outSelected;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  uiListBox *      listBox;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;};</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">// ProgressApp</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="keyword">struct </span>ProgressApp : <span class="keyword">public</span> InputApp {</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;  <span class="keywordtype">void</span> addControls();</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  <span class="keywordtype">void</span> calcRequiredSize();</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  <span class="keywordtype">void</span> finalize();</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;  <span class="keywordtype">bool</span> update(<span class="keywordtype">int</span> percentage, <span class="keywordtype">char</span> <span class="keyword">const</span> * format, ...);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span>       progressBarHeight = 16;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;  <span class="keywordtype">bool</span>                   hasProgressBar;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  Delegate&lt;ProgressApp*&gt; execFunc;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  <span class="keywordtype">int</span>                    <a class="code" href="displaycontroller_8h_a09a2a45f731b02946ff6d3cd15c1a476.html#a09a2a45f731b02946ff6d3cd15c1a476">width</a>;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;  uiLabel *              label;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;  uiProgressBar *        progressBar;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;};</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment">// InputBox</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classfabgl_1_1_input_box.html">  183</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfabgl_1_1_input_box.html">InputBox</a> {</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  <a class="code" href="classfabgl_1_1_input_box_a17332cc2353029a0fc7e909941346f4e.html#a17332cc2353029a0fc7e909941346f4e">InputBox</a>();</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  ~<a class="code" href="classfabgl_1_1_input_box.html">InputBox</a>();</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_input_box_aa8a070a03cec28fca95d0e35f2d49f64.html#aa8a070a03cec28fca95d0e35f2d49f64">begin</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * modeline = <span class="keyword">nullptr</span>, <span class="keywordtype">int</span> viewPortWidth = -1, <span class="keywordtype">int</span> viewPortHeight = -1);</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_input_box_aa8a070a03cec28fca95d0e35f2d49f64.html#aa8a070a03cec28fca95d0e35f2d49f64">begin</a>(<a class="code" href="classfabgl_1_1_bitmapped_display_controller.html">BitmappedDisplayController</a> * displayController);</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_input_box_aaf81d3fdaf258088d7692fa70cece087.html#aaf81d3fdaf258088d7692fa70cece087">end</a>();</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82.html#af73b152e9293e3b0fc0835274538ca82">  220</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82.html#af73b152e9293e3b0fc0835274538ca82">setBackgroundColor</a>(<a class="code" href="structfabgl_1_1_r_g_b888.html">RGB888</a> <span class="keyword">const</span> &amp; value)   { m_backgroundColor = value; }</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> <a class="code" href="classfabgl_1_1_input_box_a0e125469676d904e23584f68c8518780.html#a0e125469676d904e23584f68c8518780">textInput</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * labelText, <span class="keywordtype">char</span> * inOutString, <span class="keywordtype">int</span> maxLength, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText = <span class="stringliteral">&quot;Cancel&quot;</span>, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonOKText = <span class="stringliteral">&quot;OK&quot;</span>, <span class="keywordtype">bool</span> passwordMode = <span class="keyword">false</span>);</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> <a class="code" href="classfabgl_1_1_input_box_a28a9108d1cfab33a1b1054f0c22782a3.html#a28a9108d1cfab33a1b1054f0c22782a3">message</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * messageText, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText = <span class="keyword">nullptr</span>, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonOKText = <span class="stringliteral">&quot;OK&quot;</span>);</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> <a class="code" href="classfabgl_1_1_input_box_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5.html#aa16a7bd46cbf4f1a3b9ce6f46d8c49e5">messageFmt</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonOKText, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...);</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_input_box_a2334236f9bd09e5f43ace12a3b685bf4.html#a2334236f9bd09e5f43ace12a3b685bf4">select</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * messageText, <span class="keywordtype">char</span> <span class="keyword">const</span> * itemsText, <span class="keywordtype">char</span> separator = <span class="charliteral">&#39;;&#39;</span>, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText = <span class="stringliteral">&quot;Cancel&quot;</span>, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonOKText = <span class="stringliteral">&quot;OK&quot;</span>, <span class="keywordtype">int</span> OKAfter = 0);</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> <a class="code" href="classfabgl_1_1_input_box_a2334236f9bd09e5f43ace12a3b685bf4.html#a2334236f9bd09e5f43ace12a3b685bf4">select</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * messageText, StringList * items, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText = <span class="stringliteral">&quot;Cancel&quot;</span>, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonOKText = <span class="stringliteral">&quot;OK&quot;</span>, <span class="keywordtype">int</span> OKAfter = 0);</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0">menu</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * messageText, <span class="keywordtype">char</span> <span class="keyword">const</span> * itemsText, <span class="keywordtype">char</span> separator = <span class="charliteral">&#39;;&#39;</span>);</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0">menu</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * messageText, StringList * items);</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501.html#a5aae0f53ec7c8f05fc206aa5b9c6e501">  419</a></span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Func&gt; <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> <a class="code" href="classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501.html#a5aae0f53ec7c8f05fc206aa5b9c6e501">progressBox</a>(<span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText, <span class="keywordtype">bool</span> hasProgressBar, <span class="keywordtype">int</span> <a class="code" href="displaycontroller_8h_a09a2a45f731b02946ff6d3cd15c1a476.html#a09a2a45f731b02946ff6d3cd15c1a476">width</a>, Func execFunc) {</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    ProgressApp app;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    app.execFunc = execFunc;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    <span class="keywordflow">return</span> progressBoxImpl(app, titleText, buttonCancelText, hasProgressBar, <a class="code" href="displaycontroller_8h_a09a2a45f731b02946ff6d3cd15c1a476.html#a09a2a45f731b02946ff6d3cd15c1a476">width</a>);</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;  }</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;  <a class="code" href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">InputResult</a> progressBoxImpl(ProgressApp &amp; app, <span class="keywordtype">char</span> <span class="keyword">const</span> * titleText, <span class="keywordtype">char</span> <span class="keyword">const</span> * buttonCancelText, <span class="keywordtype">bool</span> hasProgressBar, <span class="keywordtype">int</span> <a class="code" href="displaycontroller_8h_a09a2a45f731b02946ff6d3cd15c1a476.html#a09a2a45f731b02946ff6d3cd15c1a476">width</a>);</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;  <a class="code" href="classfabgl_1_1_bitmapped_display_controller.html">BitmappedDisplayController</a> * m_dispCtrl;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;  <a class="code" href="classfabgl_1_1_v_g_a16_controller.html">VGA16Controller</a>            * m_vga16Ctrl;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;  <a class="code" href="structfabgl_1_1_r_g_b888.html">RGB888</a>                       m_backgroundColor;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;};</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;}   <span class="comment">// namespace fabgl</span></div><div class="ttc" id="structfabgl_1_1_r_g_b888_html"><div class="ttname"><a href="structfabgl_1_1_r_g_b888.html">fabgl::RGB888</a></div><div class="ttdoc">Represents a 24 bit RGB color. </div><div class="ttdef"><b>Definition:</b> <a href="displaycontroller_8h_source.html#l00228">displaycontroller.h:228</a></div></div>
<div class="ttc" id="group___enumerations_ga78d47ab4ff34b1ed9fb7db4c3a98789e_html_gga78d47ab4ff34b1ed9fb7db4c3a98789eaea4788705e6873b424c65e91c2846b19"><div class="ttname"><a href="group___enumerations_ga78d47ab4ff34b1ed9fb7db4c3a98789e.html#gga78d47ab4ff34b1ed9fb7db4c3a98789eaea4788705e6873b424c65e91c2846b19">fabgl::uiMessageBoxResult::Cancel</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_aa8a070a03cec28fca95d0e35f2d49f64_html_aa8a070a03cec28fca95d0e35f2d49f64"><div class="ttname"><a href="classfabgl_1_1_input_box_aa8a070a03cec28fca95d0e35f2d49f64.html#aa8a070a03cec28fca95d0e35f2d49f64">fabgl::InputBox::begin</a></div><div class="ttdeci">void begin(char const *modeline=nullptr, int viewPortWidth=-1, int viewPortHeight=-1)</div><div class="ttdoc">Initializes InputBox from VGA modeline, using a VGA16Controller. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00055">inputbox.cpp:55</a></div></div>
<div class="ttc" id="ps2controller_8h_html"><div class="ttname"><a href="ps2controller_8h.html">ps2controller.h</a></div><div class="ttdoc">This file contains fabgl::PS2Controller definition. </div></div>
<div class="ttc" id="classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82_html_af73b152e9293e3b0fc0835274538ca82"><div class="ttname"><a href="classfabgl_1_1_input_box_af73b152e9293e3b0fc0835274538ca82.html#af73b152e9293e3b0fc0835274538ca82">fabgl::InputBox::setBackgroundColor</a></div><div class="ttdeci">void setBackgroundColor(RGB888 const &amp;value)</div><div class="ttdoc">Sets the background color. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8h_source.html#l00220">inputbox.h:220</a></div></div>
<div class="ttc" id="vga16controller_8h_html"><div class="ttname"><a href="vga16controller_8h.html">vga16controller.h</a></div><div class="ttdoc">This file contains fabgl::VGA16Controller definition. </div></div>
<div class="ttc" id="fabui_8h_html"><div class="ttname"><a href="fabui_8h.html">fabui.h</a></div><div class="ttdoc">This file contains all classes related to FabGL Graphical User Interface. </div></div>
<div class="ttc" id="classfabgl_1_1_input_box_a2334236f9bd09e5f43ace12a3b685bf4_html_a2334236f9bd09e5f43ace12a3b685bf4"><div class="ttname"><a href="classfabgl_1_1_input_box_a2334236f9bd09e5f43ace12a3b685bf4.html#a2334236f9bd09e5f43ace12a3b685bf4">fabgl::InputBox::select</a></div><div class="ttdeci">int select(char const *titleText, char const *messageText, char const *itemsText, char separator=';', char const *buttonCancelText=&quot;Cancel&quot;, char const *buttonOKText=&quot;OK&quot;, int OKAfter=0)</div><div class="ttdoc">Shows a dialog with a label and a list box. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00138">inputbox.cpp:138</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_aaf81d3fdaf258088d7692fa70cece087_html_aaf81d3fdaf258088d7692fa70cece087"><div class="ttname"><a href="classfabgl_1_1_input_box_aaf81d3fdaf258088d7692fa70cece087.html#aaf81d3fdaf258088d7692fa70cece087">fabgl::InputBox::end</a></div><div class="ttdeci">void end()</div><div class="ttdoc">Cleanup resources and eventually disable VGA output. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00075">inputbox.cpp:75</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_a17332cc2353029a0fc7e909941346f4e_html_a17332cc2353029a0fc7e909941346f4e"><div class="ttname"><a href="classfabgl_1_1_input_box_a17332cc2353029a0fc7e909941346f4e.html#a17332cc2353029a0fc7e909941346f4e">fabgl::InputBox::InputBox</a></div><div class="ttdeci">InputBox()</div><div class="ttdoc">Creates a new InputBox instance. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00042">inputbox.cpp:42</a></div></div>
<div class="ttc" id="classfabgl_1_1_bitmapped_display_controller_html"><div class="ttname"><a href="classfabgl_1_1_bitmapped_display_controller.html">fabgl::BitmappedDisplayController</a></div><div class="ttdoc">Represents the base abstract class for bitmapped display controllers. </div><div class="ttdef"><b>Definition:</b> <a href="displaycontroller_8h_source.html#l00730">displaycontroller.h:730</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_html"><div class="ttname"><a href="classfabgl_1_1_input_box.html">fabgl::InputBox</a></div><div class="ttdoc">InputBox is an helper class which allows to create simple UI interfaces, like wizards or simple input...</div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8h_source.html#l00183">inputbox.h:183</a></div></div>
<div class="ttc" id="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2_html_ga25f6dff2b7711962b46d7c9313d28aa2"><div class="ttname"><a href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#ga25f6dff2b7711962b46d7c9313d28aa2">fabgl::InputResult</a></div><div class="ttdeci">InputResult</div><div class="ttdoc">Result of InputBox dialogs helper class. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8h_source.html#l00056">inputbox.h:56</a></div></div>
<div class="ttc" id="fabutils_8h_html"><div class="ttname"><a href="fabutils_8h.html">fabutils.h</a></div><div class="ttdoc">This file contains some utility classes and functions. </div></div>
<div class="ttc" id="namespacefabgl_html"><div class="ttname"><a href="namespacefabgl.html">fabgl</a></div><div class="ttdef"><b>Definition:</b> <a href="canvas_8cpp_source.html#l00036">canvas.cpp:36</a></div></div>
<div class="ttc" id="classfabgl_1_1_v_g_a16_controller_html"><div class="ttname"><a href="classfabgl_1_1_v_g_a16_controller.html">fabgl::VGA16Controller</a></div><div class="ttdoc">Represents the VGA 16 colors bitmapped controller. </div><div class="ttdef"><b>Definition:</b> <a href="vga16controller_8h_source.html#l00082">vga16controller.h:82</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501_html_a5aae0f53ec7c8f05fc206aa5b9c6e501"><div class="ttname"><a href="classfabgl_1_1_input_box_a5aae0f53ec7c8f05fc206aa5b9c6e501.html#a5aae0f53ec7c8f05fc206aa5b9c6e501">fabgl::InputBox::progressBox</a></div><div class="ttdeci">InputResult progressBox(char const *titleText, char const *buttonCancelText, bool hasProgressBar, int width, Func execFunc)</div><div class="ttdoc">Shows a dialog with a label and a progress bar, updated dynamically by a user function. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8h_source.html#l00419">inputbox.h:419</a></div></div>
<div class="ttc" id="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2_html_gga25f6dff2b7711962b46d7c9313d28aa2a6adf97f83acf6453d4a6a4b1070f3754"><div class="ttname"><a href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#gga25f6dff2b7711962b46d7c9313d28aa2a6adf97f83acf6453d4a6a4b1070f3754">fabgl::InputResult::None</a></div></div>
<div class="ttc" id="fabglconf_8h_html"><div class="ttname"><a href="fabglconf_8h.html">fabglconf.h</a></div><div class="ttdoc">This file contains FabGL library configuration settings, like number of supported colors...</div></div>
<div class="ttc" id="classfabgl_1_1_input_box_a0e125469676d904e23584f68c8518780_html_a0e125469676d904e23584f68c8518780"><div class="ttname"><a href="classfabgl_1_1_input_box_a0e125469676d904e23584f68c8518780.html#a0e125469676d904e23584f68c8518780">fabgl::InputBox::textInput</a></div><div class="ttdeci">InputResult textInput(char const *titleText, char const *labelText, char *inOutString, int maxLength, char const *buttonCancelText=&quot;Cancel&quot;, char const *buttonOKText=&quot;OK&quot;, bool passwordMode=false)</div><div class="ttdoc">Shows a dialog with a label and a text edit box. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00085">inputbox.cpp:85</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0_html_a909d54457e17a691b324f65a7637caa0"><div class="ttname"><a href="classfabgl_1_1_input_box_a909d54457e17a691b324f65a7637caa0.html#a909d54457e17a691b324f65a7637caa0">fabgl::InputBox::menu</a></div><div class="ttdeci">int menu(char const *titleText, char const *messageText, char const *itemsText, char separator=';')</div><div class="ttdoc">Shows a dialog with a label and a list box. The dialog exits when an item is selected, just like a menu. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00178">inputbox.cpp:178</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_a28a9108d1cfab33a1b1054f0c22782a3_html_a28a9108d1cfab33a1b1054f0c22782a3"><div class="ttname"><a href="classfabgl_1_1_input_box_a28a9108d1cfab33a1b1054f0c22782a3.html#a28a9108d1cfab33a1b1054f0c22782a3">fabgl::InputBox::message</a></div><div class="ttdeci">InputResult message(char const *titleText, char const *messageText, char const *buttonCancelText=nullptr, char const *buttonOKText=&quot;OK&quot;)</div><div class="ttdoc">Shows a dialog with just a label. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00104">inputbox.cpp:104</a></div></div>
<div class="ttc" id="displaycontroller_8h_a09a2a45f731b02946ff6d3cd15c1a476_html_a09a2a45f731b02946ff6d3cd15c1a476"><div class="ttname"><a href="displaycontroller_8h_a09a2a45f731b02946ff6d3cd15c1a476.html#a09a2a45f731b02946ff6d3cd15c1a476">width</a></div><div class="ttdeci">uint8_t width</div><div class="ttdef"><b>Definition:</b> <a href="displaycontroller_8h_source.html#l00322">displaycontroller.h:322</a></div></div>
<div class="ttc" id="classfabgl_1_1_input_box_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5_html_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5"><div class="ttname"><a href="classfabgl_1_1_input_box_aa16a7bd46cbf4f1a3b9ce6f46d8c49e5.html#aa16a7bd46cbf4f1a3b9ce6f46d8c49e5">fabgl::InputBox::messageFmt</a></div><div class="ttdeci">InputResult messageFmt(char const *titleText, char const *buttonCancelText, char const *buttonOKText, const char *format,...)</div><div class="ttdoc">Shows a dialog with a just a label. Allows printf like formatted text. </div><div class="ttdef"><b>Definition:</b> <a href="inputbox_8cpp_source.html#l00120">inputbox.cpp:120</a></div></div>
<div class="ttc" id="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2_html_gga25f6dff2b7711962b46d7c9313d28aa2af1851d5600eae616ee802a31ac74701b"><div class="ttname"><a href="group___enumerations_ga25f6dff2b7711962b46d7c9313d28aa2.html#gga25f6dff2b7711962b46d7c9313d28aa2af1851d5600eae616ee802a31ac74701b">fabgl::InputResult::Enter</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="inputbox_8h.html">inputbox.h</a></li>
    <li class="footer">Generated on Mon Aug 2 2021 07:08:03 for FabGL by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
